package com.aaa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (ViewTestResultFpa)实体类
 *
 * @author makejava
 * @since 2022-09-06 10:18:54
 */
@Data
public class ViewTestResultFpa implements Serializable {
    private static final long serialVersionUID = 407953454990625333L;
    /**
     * 测试人员id
     */
    private Integer testerId;
    
    private BigDecimal redCount;
    
    private BigDecimal blueCount;
    
    private BigDecimal yellowCount;
    
    private BigDecimal greenCount;
    /**
     * 测试者姓名
     */
    private String name;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 测试时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    //从页面传值到controller的时候，自动解析字符串日期到date
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /*
     * 测试计划id
     * */
    private Integer testPlanId;
    /*
     * 测试计划name
     * */
    private String testName;


    public Integer getTesterId() {
        return testerId;
    }

    public void setTesterId(Integer testerId) {
        this.testerId = testerId;
    }

    public BigDecimal getRedCount() {
        return redCount;
    }

    public void setRedCount(BigDecimal redCount) {
        this.redCount = redCount;
    }

    public BigDecimal getBlueCount() {
        return blueCount;
    }

    public void setBlueCount(BigDecimal blueCount) {
        this.blueCount = blueCount;
    }

    public BigDecimal getYellowCount() {
        return yellowCount;
    }

    public void setYellowCount(BigDecimal yellowCount) {
        this.yellowCount = yellowCount;
    }

    public BigDecimal getGreenCount() {
        return greenCount;
    }

    public void setGreenCount(BigDecimal greenCount) {
        this.greenCount = greenCount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getTestPlanId() {
        return testPlanId;
    }

    public void setTestPlanId(Integer testPlanId) {
        this.testPlanId = testPlanId;
    }

    public String getTestName() {
        return testName;
    }

    public void setTestName(String testName) {
        this.testName = testName;
    }

}

